interface tracksObject {
  first: string;
  second: string;
}
type tracksArrat = tracksObject[];
export interface SongListObject {
  subscribers: [];
  subscribed: null;
  creator: null;
  artists: null;
  tracks: [];
  updateFrequency: string;
  backgroundCoverId: number;
  backgroundCoverUrl: null;
  titleImage: number;
  titleImageUrl: null;
  englishTitle: null;
  opRecommend: boolean;
  recommendInfo: null;
  adType: number;
  trackNumberUpdateTime: number;
  cloudTrackCount: number;
  subscribedCount: number;
  userId: number;
  createTime: number;
  highQuality: boolean;
  anonimous: boolean;
  specialType: number;
  updateTime: number;
  coverImgId: number;
  newImported: false;
  coverImgUrl: string;
  trackCount: number;
  commentThreadId: string;
  totalDuration: number;
  trackUpdateTime: number;
  privacy: number;
  playCount: number;
  ordered: boolean;
  tags: [];
  description: string;
  status: number;
  name: string;
  id: number;
  coverImgId_str: string;
  ToplistType: string;
}
export type SongListArray = SongListObject[];

export interface SongListObj {
  code: 200;
  list: SongListArray;
}

//  歌单的歌列表
interface alObj {
  id: number;
  name: string;
  picUrl: string;
  tns: [];
  pic_str: string;
  pic: number;
}
interface arObj {
  id: number;
  name: string;
  tns: [];
  alias: [];
}

type arArray = arObj[];
interface tracksObj {
  name: string;
  al: alObj;
  id: number;
  ar: arArray;
  version: number;
  dt: number;
}

export type tracksArray = tracksObj[];

export interface getsongSheetObj {
  songs: tracksArray;
}

// 获取歌单榜单的信息
export interface playlistObj {
  id: number;
  name: string;
  coverImgUrl: string;
  userId: number;
  coverImgId: number;
  tracks: tracksArray;
}

export interface songSheeInf {
  playlist: playlistObj;
}

// 品论列表
export interface userObj {
  userId: number;
  avatarUrl: string;
  userType: number;
  nickname: string;
}

export interface ipLocationObj {
  ip: string;
  location: string;
  userId: number;
}

interface commentsObj {
  user: userObj;
  content: string;
  timeStr: string;
  ipLocation: ipLocationObj;
  liked: boolean;
  time: number;
}

export type commentsArray = commentsObj[];

export interface CommentListObj {
  userId: number;
  total: number;
  moreHot: boolean;
  comments: commentsArray;
}

// 播放器 单个播放歌曲
export interface playSonginfoObj {
  id: number;
  url: string;
  time: number;
}
